{extend name="base"/}
{block name="title"}<title>网络报修管理</title>{/block}
{block name="main"}
<div class="main_container" id="users_page">
  <div class="row-fluid">
    <div class="widget widget-padding span12">
      <div class="widget-header">
        <i class="icon-group"></i>
        <h5>网络报修</h5>
        <div class="widget-buttons">
        <a href="adduser.html" data-title="Add User"><i class="icon-plus"></i></a>
          <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
        </div>
      </div>

      <div class="widget-body">
        <table id="users" class="table table-striped table-bordered dataTable">
          <thead>
            <tr>
              <th>区域</th>
              <th>保修地点</th>
              <th>保修内容</th>
              <th>姓名</th>
              <th>电话</th>
              <th>预约维修时间</th>
              <th>报修时间</th>
              <th>状态</th>

              <th></th>
            </tr>
          </thead>
          <tbody>          
            {volist name="nets" id="vo"}
            <tr>
             <td>{$vo.area}-{$vo.building}</td>
             <td>{$vo.dortext}</td>
             <td><div class="line-limit-length">{$vo.content}</div></td>   
             <td>{$vo.name}</td>
             <td>{$vo.tele}</td>
             <td>{$vo.domtime}</td>
             <td>{$vo.addtime}</td>
             <td>
              {if condition="$vo.status==0"}<span class="label label-success">正常</span>
              {else/}禁用
              {/if}

            </td>
            <td>
              <div class="btn-group">
                <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
                  操作
                  <span class="caret"></span>
                </a>
                <ul class="dropdown-menu pull-right">
                  <li><a href="{:url('info/mark',['id'=>$vo.id])}"><i class="icon-envelope"></i>标记完成</a></li>
                  <li><a href="{:url('info/forward',['id'=>$vo.id])}"><i class="icon-edit"></i> 转发</a></li>
                  <li><a href="{:url('info/del',['id'=>$vo.id])}"><i class="icon-trash"></i> 删除</a></li>
                </ul>
              </div></td>  


            </tr>
            {/volist}
          </tbody>
        </table>
      </div> <!-- /widget-body -->
    </div> <!-- /widget -->
  </div> <!-- /row-fluid -->
</div>

{/block}